/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package core;

/**
 *
 * @author MOI
 */
public class gateway implements Emetteur{
    private Emetteur gw;
     public gateway()
    {
         
     }
    public gateway(Emetteur gw)
    {
        this.gw=gw;
    }

    public Object getGw() {
        return gw;
    }

    public void setGw(Emetteur gw) {
        this.gw = gw;
    }

    public void send(NetPaquet p) {
        this.gw.send(p);
    }

}
